package com.common.framework.bean.factory;

/**
 *@ClasName BeanFactory
 *@Descripution TODO
 *@Author leikw
 *@Date 2022/3/1 8:38
 *@Version V1.0
*/
public interface BeanFactory {

    Object getBean(String name) throws Exception;

    <T> T getBean(String name, Class<? extends T> clazz) throws Exception;

}
